#!/bin/bash
pymod=time

warn()
{
  echo "${bldred}Warning: $* $txtrst"
}

found()
{
  echo "${bldgre}$* found $txtrst"
}

if python -c "import $pymod" >/dev/null 2>&1
then
    found "$pymod"
else
    warn "$pymod: NOT FOUND"
fi
